/*
 * @Description: 
 * @Author: mmzhang
 * @Date: 2021-12-15 17:16:05
 * @LastEditTime: 2021-12-20 10:25:58
 */
import Opt from '@/components/dt/info/Opt.js'

let _this = null
class SearchOpt extends Opt {

  constructor(vm) {
    _this = vm
    super()
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }


  createAll() {
    this.all = [
    {
      title: '人员',
      key: 'searchKey',
      placeholder: '',
      input: {}
    },
    {
      title: '状态',
      key: 'deleteFlag',
      placeholder: '请选择',
      select: {
        options: [
          { key: '1', value: '正常' },
          { key: '0', value: '已删除' }
        ],
      },
    }]
  }
}

export default SearchOpt